:global {

  //   .loop(@i) when (@i > 0) {
  //     .loop((@i - 1)); // 递归调用自身
  //     padding: (10px + 5 * @i);
  //   }
  .xkd(@n, @i: 1) when (@i =< @n) {
    .menu-@{i} {
      padding-left: (@i * 6) - 6px;

      &::before {
        content: "";
        display: inline-block;
        width: .convert(4)[@rem];
        height: .convert(4)[@rem];
        background: #999999;
        border-radius: 50%;
        vertical-align: middle;
        margin-right: .convert(5)[@rem];
      }
    }

    .xkd(@n, (@i + 1));
  }

  .detail-box{
    padding: 16px 4%;
    background: #ffffff;
    position: relative;

    .userOption{
      position: absolute;
      left: -55px;
      top: 90px;
      width: 50px;
      // background: #fff;
      padding: 10px;
      display: flex;
      flex-direction: column;
      // justify-content: space-around;
      align-items: center;
      border-radius: 2px;

      div{
        width: 40px;
        height: 40px;
        background: #ffffff;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
      }
    }
    .title{
      font-size: .convert(40)[@rem];
      padding: .convert(10)[@rem] .convert(10)[@rem];
      font-weight: bolder;
      margin-bottom: 0;
    }
    
    .thumImg{
      width: 100%;
      margin: .convert(20)[@rem] 0;
    }
  }
  
  .markdown-body {
     img{
       max-width: 100%;
     }
  }

  .menuBox {
    width: 100%;
    padding: .convert(10) [ @rem] .convert(8) [ @rem];
    background: #ffffff;
    margin-top: .convert(20) [ @rem];
    border-radius: .convert(2) [ @rem];
    position: sticky;
    top: .convert(100) [ @rem];

    h4 {
      font-size: .convert(14)[@rem];
    }

    ul {
      max-height: .convert(400)[@rem];
      overflow: auto;

      &::-webkit-scrollbar {
        width: 4px;
        background-color: #ebebeb;

      }

      &::-webkit-scrollbar-thumb {
        background: #999999;
        border-radius: 2px;
      }

      li {
        cursor: pointer;
        padding: .convert(4) [ @rem] .convert(6) [ @rem];
        font-size: .convert(14) [ @rem];
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;

        &.menu-1 {
          font-size: .convert(15) [ @rem];
          color: #333333;
          font-weight: bold;
        }
      }

      .xkd(6)
    }
  }

  .ant-modal-body{
    padding:0px 24px 12px 24px;

    .myCollect{
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      
      h2{
        font-size: 15px;
        font-weight: bolder;
        margin: 0;
        padding: 0;
        color: @theme-color;
      }
    }
  }

  
}